package com.ms.dsq_english.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ms.dsq_english.R;
import com.ms.dsq_english.model.SalesBean;

import java.util.List;

/**
 * @Description:
 * @Author: zheng
 */
public class SalesAdapter extends BaseQuickAdapter<SalesBean.DataBean.ProductDetailsBean, BaseViewHolder> {
    public SalesAdapter(int layoutResId, @Nullable List<SalesBean.DataBean.ProductDetailsBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, SalesBean.DataBean.ProductDetailsBean item) {
        helper.setText(R.id.text_sales,item.getGoods_line_name());
    }
}
